package com.xie.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xie.mapper.DeptDao;
import com.xie.pojo.Dept;
import com.xie.pojo.Vo.DeptVo;
import com.xie.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("deptService")
public class DeptServiceImpl extends ServiceImpl<DeptDao, Dept> implements DeptService {
    @Autowired
    private DeptDao deptDao;


    @Override
    public List<DeptVo> findDeptPersonnel() {
        return deptDao.findDeptPersonnel();
    }
}
